aggregation should calculate arithmetic metrics in the innermost element scope